<!DOCTYPE html>
<html>
<head>
  <meta content="IE=11.0000" http-equiv="X-Ua-Compatible">
  <meta charset="utf-8">
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-Ua-Compatible" content="IE=edge,chrome=1">
  <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
  <title>工程承包管理</title>

  <!--region 引入公用js和css -->
  <script>
    var HOST_S = "";
    var ctx = "";
  </script>

  <link href="../../assets/plugins/animate/animate.css" rel="stylesheet">
  <link href="../../assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
  <link href="../../assets/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css"/>
  <link href="../../assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
  <link href="../../assets/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css"/>
  <link href="../../assets/plugins/fullcalendar/fullcalendar.css" rel="stylesheet" type="text/css"/>
  <link href="../../assets/base/css/components.css" rel="stylesheet" id="style_components" type="text/css"/>
  <link href="../../assets/base/css/plugins.css" rel="stylesheet" type="text/css"/>
  <link href="../../assets/ditop/layout.css" rel="stylesheet" type="text/css"/>
  <link href="../../assets/plugins/datatables/datatables.min.css" rel="stylesheet" type="text/css"/>
  <link href="../../assets/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel="stylesheet"
        type="text/css"/>
  <link href="../../assets/plugins/bootstrap-table/bootstrap-table.css" rel="stylesheet">
  <link href="../../assets/plugins/bootstrap-table/extensions/tree-column/bootstrap-table-tree-column.css"
        rel="stylesheet">
  <link href="../../assets/plugins/bootstrap-toastr/toastr.css" rel="stylesheet">
  <link href="../../assets/module/gcjsy/gcjsy-comp.css" rel="stylesheet">
  <link rel="stylesheet" href="../../assets/plugins/sweetalert/sweetalert.css">
  <link rel="stylesheet" href="../../assets/plugins/layer/theme/default/layer.css">


  <!-- CSS Customization -->
  <link href="../../assets/plugins/select2/css/select2.min.css" rel="stylesheet">
  <link href="../../assets/plugins/icheck/skins/flat/aero.css" rel="stylesheet">
  <link href="../../assets/ditop/ditop.css" rel="stylesheet">
  <link href="../../assets/ditop/style/ztree/style9/treestyle.css" rel="stylesheet">
  <link href="../../assets/plugins/bootstrap-touchspin/bootstrap.touchspin.css" rel="stylesheet">
  <link href="../../assets/plugins/bootstrap-datepicker/css/bootstrap-datepicker3.min.css" rel="stylesheet"
        type="text/css"/>
  <script src="../../assets/plugins/jquery/jquery.min.js"></script>
  <script src="../../assets/plugins/bootstrap/js/bootstrap.min.js"></script>
  <script src="../../assets/plugins/bootstrap-toastr/toastr.js"></script>
  <script src="../../assets/plugins/art-template/template.js"></script>
  <script src="../../assets/plugins/layer/layer.js"></script>
  <script src="../../assets/ditop/ditop.js"></script>


  <!--新增-->

  <link rel="stylesheet" href="../drawing_review.css">
  <style>
    @media screen and (max-width: 1600px){
      .ban-body {height: calc(100vh - 182px) !important;}
    }
    .reminder {margin-bottom: 16px;padding-left: 52px;}
    .reminder::before{width:38px;height:38px;}
    .register_box{position: relative;height: 100%;}
    .register_con{padding: 16px;}
    .register_text label{color: #191923;display:block;width: 63px;float: left;padding-top: 9px}
    .register_text .form-control{width: 385px;height: 38px;border-color: #E8E8E8;float: left;}
    .register_box .footer{position: absolute;bottom: 0;width: 100%;padding: 16px;text-align: right;border-top: 1px solid #E8E8E8;}
  </style>

</head>

<body>
<div class="page-wrapper">
  <div class="page-header navbar">
    <div class="page-header-inner clearfix">
      <div class="logo pull-left">
        <a href="#"><img src="../../assets/images/logo/logo.png" alt="logo" class="logo-default"/> </a>
      </div>
      <div class="menu-toggler sidebar-toggler" style="height: 0"></div>
      <div class="main-menu pull-left">
        <ul class="nav navbar-nav">
          <li id="home">
            <span>首页</span>
          </li>
          <li>
            <div class="header-type">
              <span>动态</span>
            </div>
          </li>
          <li>
            <div class="header-type">
              <span>办事</span>
            </div>
          </li>
          <li class="active-menu">
            <div class="header-type">
              <span>应用</span>
            </div>
          </li>
        </ul>
      </div>
      <div class="top-menu pull-right">
        <ul class="nav navbar-nav">
          <li><a href="#"><i class="dtFont dtFont-msg"></i><span class="badge badge-danger"> 9 </span></a>
          </li>
          <li><a href="#"><i class="dtFont dtFont-naozhong"></i><span class="badge badge-info"> 1 </span></a></li>
          <li><a href="#"><i class="dtFont dtFont-gonggao"></i><span class="badge badge-info"></span></a></li>
          <li><a href="#"><i class="dtFont dtFont-help"></i></a></li>


          <li class="dropdown">
            <a href="#" class="dropdown-toggle user-info" data-toggle="dropdown"
               data-hover="dropdown" data-close-others="true"><i class="dtFont dtFont-my_icon"></i></a>
            <ul class="dropdown-menu dropdown-menu-default pull-right	">
              <li class="profile">
                <a href="javascript:;"> <i class="icon-user"></i> 个人中心</a>
              </li>
              <li class="changePassword">
                <a href="javascript:;"> <i class="icon-key"></i> 修改密码</a>
              </li>
              <li class="feedBack">
                <a href="javascript:;"> <i class="icon-bubbles"></i> 给管理员留言</a>
              </li>
              <li class="divider"></li>
              <li class="logout">
                <a href="javascript:;"> <i class="icon-close"></i>退出</a>
              </li>
            </ul>
          </li>
        </ul>
      </div>
    </div>
  </div>
  <div class="page-container clearfix">

    <div class="page-sidebar-wrapper pull-left" id="leftSec2">
      <div class="menu-toggler sidebar-toggler"></div>
      <div class="pageIcon">
        <div>

          <i class="dtFont dtFont-shencha"></i>

        </div>
        <p class="fmAx16">工程承包管理</p>
      </div>
      <div class="page-sidebar navbar-collapse collapse">
        <div class="left-menu2">
          <ul class="page-sidebar-menu page-header-fixed" data-keep-expanded="false" data-auto-scroll="true"
              data-slide-speed="200">
            <li class="nav-item" title="">
              <a class="nav-link" href="#none">
                <i class="dtFont dtFont-daifenpei"></i>
                <span class="title">工程承包</span>
              </a>

            </li>
            <li class="nav-item active open" title="">
              <a class="nav-link" href="#none">
                <i class="dtFont dtFont-yifenpei"></i>
                <span class="title">承包的工程</span>
              </a>

            </li>

          </ul>
        </div>
      </div>
    </div>


    <div class="page-content-wrapper pull-right">
      <div class="page-content">

        <!-- ---------------------------------  -->
        <div class="matter">


          <div class="table-query table-search">
            <label class="query-item">
              <b class="query-title">工程名称</b>
              <input class="form-control" type="text" placeholder="请输入工程名称">
            </label>

            <label class="query-item">
              <b class="query-title">发包单位</b>
              <input class="form-control" type="text" placeholder="请输入发包单位名称">
            </label>
  
            <label class="query-item">
              <b class="query-title">业务类别</b>
              <select class="querySelect">
                <option>全部</option>
              </select>
            </label>
  
            <label class="query-item">
              <b class="query-title">承包状态</b>
              <select class="querySelect">
                <option>全部</option>
              </select>
            </label>

            <label class="query-item">
              <b class="query-title">处理日期</b>
              <span class="doubleTime input-icon right">
                <i class="fa fa-calendar-o"></i>
                <input id="startDate" name="startDate" type="text" placeholder="开始时间" onclick="WdatePicker({maxDate:'#F{$dp.$D(\'endDate\')}'&amp;&amp;'%y-%M-%d'})" class="form-control">
                <input id="endDate" name="endDate" type="text" placeholder="结束时间" onclick="WdatePicker({minDate:'#F{$dp.$D(\'startDate\')}',maxDate: '%y-%M-%d'})" class="form-control">
              </span>
            </label>
  
            <label class="query-btn">
              <input type="button" class="searchBtn" value="搜索">
            </label>
          </div>


          <div class="ban-body">

            <div class="tab-con">
              <div class="searchTab">
                <a id="dj_project" class="often-btn blue" href="javascript:;">登记工程标段</a>
              </div>
              <table id="table"></table>
            </div>
  
          
          </div>
        </div>
        <!-- ---------------------------------  -->
      </div>
    </div>

    <!--查看-->
    <div class="detail-mask-box">
      <div class="detail-mask-con">
        <div class="mask-header">
          <div class="mask-header-title">查看</div>
          <div class="opinion-fixedT-close dtFont dtFont-guanbi"></div>
        </div>
        <div class="mask-content">
          <ul class="nav-tab">
            <li class="navItem active">工程信息</li>
            <li class="navItem">轨迹信息</li>
          </ul>
          <div class="tab-container padding-lr-16" style="height:calc(100% - 42px);overflow-y: auto">
            <div class="tab-plane">
              <section>
                <h4 class="mask-subTitle margin-top-20">建设项目</h4>
                <ul class="info-detail clearfix">
                  <li class="info-detail-item" style="width: 100%">
                    <label class="detail-item-title">项目名称：</label>
                    <span class="detail-item-text">合肥市智慧养老中心</span>
                  </li>
                  <li class="info-detail-item" style="width: 60%">
                    <label class="detail-item-title">项目编号：</label>
                    <span class="detail-item-text">3401888888888888</span>
                  </li>
                  <li class="info-detail-item" style="width: 40%">
                    <label class="detail-item-title">项目类别：</label>
                    <span class="detail-item-text">房屋建筑工程</span>
                  </li>
                  <li class="info-detail-item" style="width: 100%">
                    <label class="detail-item-title">详细地址：</label>
                    <span class="detail-item-text">安徽省合肥市高新区创新大道2600号</span>
                  </li>
                  <li class="info-detail-item" style="width: 100%">
                    <label class="detail-item-title">建设单位：</label>
                    <span class="detail-item-text">安徽徳拓信息科技有限公司</span>
                  </li>
                  <li class="info-detail-item" style="width: 60%">
                    <label class="detail-item-title">项目负责人：</label>
                    <span class="detail-item-text">徳拓</span>
                  </li>
                  <li class="info-detail-item" style="width: 40%">
                    <label class="detail-item-title">联系手机：</label>
                    <span class="detail-item-text">13188888888</span>
                  </li>
                </ul>
              </section>
              <section>
                <h4 class="mask-subTitle" style="margin-top: 24px;">发包信息</h4>
                <ul class="info-detail clearfix">
                  <li class="info-detail-item" style="width: 100%">
                    <label class="detail-item-title">项目名称：</label>
                    <span class="detail-item-text">合肥市智慧养老中心</span>
                  </li>
                  <li class="info-detail-item"  style="width: 60%">
                    <label class="detail-item-title">发包单位：</label>
                    <span class="detail-item-text">安徽德拓信息科技有限公司</span>
                  </li>
                  <li class="info-detail-item" style="width: 40%">
                    <label class="detail-item-title">发包时间：</label>
                    <span class="detail-item-text">2020-02-02</span>
                  </li>
                  <li class="info-detail-item" style="width: 60%">
                    <label class="detail-item-title">业务类别：</label>
                    <span class="detail-item-text">勘察</span>
                  </li>
                  <li class="info-detail-item" style="width: 40%">
                    <label class="detail-item-title">发包方式：</label>
                    <span class="detail-item-text">招标委托</span>
                  </li>
                  <li class="info-detail-item" style="width: 100%">
                    <label class="detail-item-title">承接单位：</label>
                    <span class="detail-item-text">徳拓（安徽）科技有限公司；徳拓勘察设计研究院；</span>
                  </li>
                </ul>
              </section>
            </div>
          
            <div class="tab-plane hidden">
              <div class="dt-record margin-top-15">
    
                <div class="record-item">
                  <div class="record-time">2015-09-04 20：20</div>
                  <i class="record-icon-circle"></i>
                  <div class="record-container-info">
                    <div class="record-info-title">确认承包</div>
                  </div>
                </div>
    
                <div class="record-item">
                  <div class="record-time">2015-09-03 20：20</div>
                  <i class="record-icon-circle"></i>
                  <div class="record-container-info">
                    <div class="record-info-title">退回</div>
                    <div class="record-info-detail">
                      <span class="record-detail-text">设计负责人与约定不符，工程承接资质应该是建筑工程甲级</span>
                    </div>
                  </div>
                </div>
    
                <div class="record-item">
                  <div class="record-time">2015-09-02 20：20</div>
                  <i class="record-icon-circle"></i>
                  <div class="record-container-info">
                    <div class="record-info-title">工程发包</div>
                  </div>
                </div>
                
              </div>
            </div>
            
          </div>
        </div>
      </div>
    </div>

  </div>
</div>



<script>
  $('#dj_project').click(function () {
    layer.open({
      type:1,
      title: ['登记承包工程','background:#FBFBFC;font-size:16px'],
      scaleWidth: false,
      area: ['480px', '300px'],
      content: "<div class=\"register_box\">" +
        "  <div class=\"register_con\">" +
        "    <div class=\"reminder\">" +
        "      <p style=\"line-height: 1.5;\">项目编号说明，根据需要考虑图文说明；只能同步当前建设单位在发改委立项的项目信息</p>" +
        "    </div>" +
        "    <div class=\"register_text clearfix\">" +
        "      <label>项目代码</label>" +
        "      <input class=\"form-control\" type=\"text\" placeholder=\"输入要求、规范提示\">" +
        "    </div>" +
        "  </div>" +
        "  <footer class=\"footer button-actions\">" +
        "    <button type=\"button\" class=\"btn btn-primary\" id=\"saveBtn\">同步</button>" +
        "  </footer>" +
        "</div>",
      success:function (layero, index) {
        $("#saveBtn").click(function () {
          layer.close(index)
        })
      },
      subWinCallback: function (data) {
        // console.log(data)
      }
    })
  })
</script>

<!--region 引入公用js和css -->
<script src="../../assets/plugins/sweetalert/sweetalert.min.js"></script>
<script src="../../assets/plugins/jquery.blockui.min.js"></script>
<script src="../../assets/plugins/js.cookie.min.js"></script>
<script src="../../assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<script src="../../assets/plugins/jquery.blockui.min.js"></script>
<script src="../../assets/plugins/bootstrap-switch/js/bootstrap-switch.min.js"></script>
<script src="../../assets/plugins/bootstrap-touchspin/bootstrap.touchspin.js"></script>
<script src="../../assets/plugins/moment.min.js"></script>
<script src="../../assets/plugins/bootstrap-daterangepicker/daterangepicker.min.js"></script>
<script src="../../assets/plugins/counterup/jquery.waypoints.min.js"></script>
<script src="../../assets/plugins/counterup/jquery.counterup.min.js"></script>
<script src="../../assets/plugins/fullcalendar/fullcalendar.js"></script>
<script src="../../assets/plugins/horizontal-timeline/horizontal-timeline.js"></script>
<script src="../../assets/plugins/jquery.sparkline.min.js"></script>
<script src="../../assets/plugins/select2/js/select2.js"></script>
<script src="../../assets/plugins/select2/js/i18n/zh-CN.js"></script>
<script src="../../assets/plugins/ztree/jquery.ztree.all.js"></script>
<script src="../../assets/plugins/jquery-form/jquery.form.js"></script>
<script src="../../assets/plugins/jquery-validator/jquery.placeholder.min.js"></script>
<script src="../../assets/plugins/jquery-validator/jquery.validate.js"></script>
<script src="../../assets/plugins/jquery-validator/jquery.validate.custom.js"></script>
<script src="../../assets/plugins/jquery-validator/localization/messages_zh.js"></script>
<script src="../../assets/plugins/jquery-validator/additional-methods.js"></script>
<script src="../../assets/plugins/bootstrap-growl/jquery.bootstrap-growl.js"></script>
<script src="../../assets/plugins/bootstrap-table/bootstrap-table.js"></script>
<script src="../../assets/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.js"></script>
<script src="../../assets/plugins/bootstrap-table/extensions/tree-column/bootstrap-table-tree-column.js"></script>
<script src="../../assets/base/scripts/app.js"></script>
<script src="../../assets/base/scripts/theme.js"></script>
<script src="../../assets/ditop/ditop-addition.js"></script>
<script src="../../assets/plugins/bootstrap-datepicker/js/bootstrap-datepicker.min.js" type="text/javascript"></script>
<script src="../../assets/plugins/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"
        type="text/javascript"></script>
<script type="text/javascript" src="../../assets/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"
        charset="UTF-8"></script>
<script type="text/javascript"
        src="../../assets/plugins/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"
        charset="UTF-8"></script>
<script src="../../assets/plugins/jquery-validator/jquery.validate.custom.js"></script>
<script src="../../assets/ditop/layout.js"></script>
<!--endregion-->

<script src="../../assets/module/gcjsy/js/content.js"></script>

<script>

  $("#table").bootstrapTable({
    //url: "/g/psPersonQuery/queryData/" + $("#searchVal").val(),
    //method: 'post',
    pagination: true,
    classes: 'table table-bordered',
    paginationPreText:"上一页",
    paginationNextText: '下一页',
    paginationHAlign: 'left', //right, left
    paginationVAlign: 'bottom', //bottom, top, both
    paginationDetailHAlign: 'right', //right, left
    columns: [
      {
        field: 'a',
        title: '序号',
        width: 70,
        class: 'text-center'
      },{
        field: 'b',
        title: '工程名称',
        class: ''
      },{
        field: 'c',
        title: '业务类别',
      },{
        field: 'd',
        title: '发包方式',
      },{
        field: 'e',
        title: '发包单位',
      },{
        field: 'f',
        title: '处理人',
        width: 100,
      },{
        field: 'g',
        title: '发包日期',
        width: 120,
        sortable: true
      },{
        field: '',
        title: '操作',
        width: 100,
        class: 'text-center',
        formatter: function (value, row, index) {
          return  "<a href='javascript:;' class='viewContainer'>查看</a>";
        }
      }
    ],
    data: [{
      a: 1,b: '江西省南昌市临川区行政中心配套用房...1标段',
      c: '勘察',d:'自主发包',e:'江西省南昌市临川区区委会',
      f:'徐小飞',g:'2020-02-02'
    },{
      a: 2,b: '江西省南昌市临川区行政中心配套用房...1标段',
      c: '勘察',d:'自主发包',e:'江西省南昌市临川区区委会',
      f:'徐小飞',g:'2020-02-02'
    },{
      a: 3,b: '江西省南昌市临川区行政中心配套用房...1标段',
      c: '勘察',d:'自主发包',e:'江西省南昌市临川区区委会',
      f:'徐小飞',g:'2020-02-02'
    },{
      a: 4,b: '江西省南昌市临川区行政中心配套用房...1标段',
      c: '勘察',d:'自主发包',e:'江西省南昌市临川区区委会',
      f:'徐小飞',g:'2020-02-02'
    },{
      a: 5,b: '江西省南昌市临川区行政中心配套用房...1标段',
      c: '勘察',d:'自主发包',e:'江西省南昌市临川区区委会',
      f:'徐小飞',g:'2020-02-02'
    },{
      a: 6,b: '江西省南昌市临川区行政中心配套用房...1标段',
      c: '勘察',d:'自主发包',e:'江西省南昌市临川区区委会',
      f:'徐小飞',g:'2020-02-02'
    },{
      a: 7,b: '江西省南昌市临川区行政中心配套用房...1标段',
      c: '勘察',d:'自主发包',e:'江西省南昌市临川区区委会',
      f:'徐小飞',g:'2020-02-02'
    },{
      a: 8,b: '江西省南昌市临川区行政中心配套用房...1标段',
      c: '勘察',d:'自主发包',e:'江西省南昌市临川区区委会',
      f:'徐小飞',g:'2020-02-02'
    },{
      a: 9,b: '江西省南昌市临川区行政中心配套用房...1标段',
      c: '勘察',d:'自主发包',e:'江西省南昌市临川区区委会',
      f:'徐小飞',g:'2020-02-02'
    },{
      a: 10,b: '江西省南昌市临川区行政中心配套用房...1标段',
      c: '勘察',d:'自主发包',e:'江西省南昌市临川区区委会',
      f:'徐小飞',g:'2020-02-02'
    }]
  });

</script>


<script>
  $('.viewContainer').click(function () {
    $('.detail-mask-box').slideDown(300)
  });
  $('.opinion-fixedT-close').click(function () {
    $('.detail-mask-box').slideUp(300)
  });

  $('.navItem').click(function () {
    var index=$(this).index();
    console.log(index);
    $(this).addClass('active').siblings().removeClass('active');
    $('.tab-plane').eq(index).removeClass('hidden').siblings().addClass('hidden')
  });

  $('.noContract').click(function () {
    Utils.openBox({
      title: '不予承包',
      scaleWidth: false,
      area: ['800px', '386px'],
      url: '不予承包.html',
      subWinCallback: function (data) {
        console.log(data)
      }
    })
  })
</script>

</body>
</html>
